package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.equipment.EquipmentBxwx;

/**
 * 设备报修维修Service接口
 *
 * @author ruoyi
 * @date 2023-04-18
 */
public interface IEquipmentBxwxService extends IService<EquipmentBxwx> {
    /**
     * 新增
     * @param equipmentBxwx
     * @return
     */

    int add(EquipmentBxwx equipmentBxwx);

    /**
     * 执行维修
     * @param equipmentBxwx
     * @return
     */
    int executeRepair(EquipmentBxwx equipmentBxwx);

    /**
     * 根据id获取详情
     * @param wxId
     * @return
     */
    EquipmentBxwx getByIdWithImg(Long wxId);
}
